package com.accesshollywood.grfxOrdering.basics;

import java.awt.Color;

public enum Colors {
	DEFAULT_ODD,
	DEFAULT_EVEN,
	READY,
	NOT_READY,
	NOT_NEEDED,
	NOT_DUE_YET,
	OVERDUE,

	WAITING_FOR_PHOTOEDIT,
	WAITING_FOR_APPROVAL,
	APPROVED,
	COMPLETED,
	CLOSED,
	ARCHIVED;

	public static Color getColor(Colors c) {
		switch (c) {
			case DEFAULT_ODD:
				return new Color(220, 220, 220);
			case DEFAULT_EVEN:
				return new Color(240, 240, 240);
			case READY:
				return Color.GREEN;
			case NOT_READY:
				return Color.ORANGE;
				//return Color.RED;
			case NOT_NEEDED:
				return Color.LIGHT_GRAY;
			case NOT_DUE_YET:
				return new Color(240, 240, 255);
			case OVERDUE:
				return new Color(255, 128, 128);
				//return Color.ORANGE;
			case WAITING_FOR_PHOTOEDIT:
				return new Color(255, 255, 196);
			case WAITING_FOR_APPROVAL:
				return new Color(255, 255, 128);
				//return Color.PINK;
			case APPROVED:
				return new Color(128, 255, 128);
			case COMPLETED:
				return new Color(128,128,255);
			case CLOSED:
				return new Color(196, 196, 196);
			case ARCHIVED:
				return new Color(128, 128, 128);
		}
		return Color.WHITE;
	}
}
